package com.yuedou.api.entity.mer;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 服务商家对象 mer
 *
 * @author ruoyi
 * @date 2021-09-05
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("mer_user")
public class MerUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private Integer merId;

    private Integer userId;

    private Long sysUserId;
    private String nickName;
    private Integer userType;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private Integer createById;
    private Integer state;
    /**
     *  是否是店长  0 - 普通人员 1 - 店长（店长可提现）
     */
    private Integer isAdmin;

    /**
     * 是否是默认第一个显示 0 - 其他 1 - 是第一个显示
     */
    private Integer isDefault;
}
